package com.tomehay.termprojectmanage_server.mapper;

import com.tomehay.termprojectmanage_server.pojo.Model.Term;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tomehay
 * @since 2023-06-20
 */
public interface TermMapper extends BaseMapper<Term> {
    @Select("SELECT term.term_name from term WHERE term.id = #{id}")
    String getTermName(int id);
}
